﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Games
{
    [Flags]
    public enum KindOfCards
    {
        /// <summary>
        /// 普通牌, 杂牌
        /// </summary>
        [Display(Name = "普通牌")]
        Offsuit = 0,
        /// <summary>
        /// A字头杂牌
        /// </summary>
        [Display(Name = "A字头")]
        AceHigh = 1,
        /// <summary>
        /// 对子
        /// </summary>
        [Display(Name = "对子")]
        Pair = 2,
        /// <summary>
        /// 同花
        /// </summary>
        [Display(Name = "同花")]
        Suited = 4,
        /// <summary>
        /// 顺子
        /// </summary>
        [Display(Name = "顺子")]
        Straight = 8,
        /// <summary>
        /// 同花顺
        /// </summary>
        [Display(Name = "同花顺")]
        SuitedAndStraight = Suited | Straight,
        /// <summary>
        /// 三条
        /// </summary>
        [Display(Name = "三条")]
        Set = 16,
    }
}
